
export default [
    {
        path:"/",
        redirect:"/message"
    },
    {
        path:"/message",
        name:"message",
        component:() => import("@/pages/message"),
        meta:{isAuth:true,title:"消息"}
    },
    {
        path:"/contacts",
        name:"contacts",
        component:() => import("@/pages/contacts"),
        meta:{isAuth:true,title:"联系人"}
    },
    {
        path:"/dynamic",
        name:"dynamic",
        component:() => import("@/pages/dynamic"),
        meta:{isAuth:true,title:"动态"}
    },
    {
        path:"/chat",
        name:"chat",
        component:() => import("@/pages/chat"),
        meta:{isAuth:true,title:false}
    },
    {
        path:"/friend_dynamic",
        name:"friend_dynamic",
        component:() => import("@/pages/friend_dynamic"),
        meta:{isAuth:true,title:"好友动态"}
    },
    {
        path:"/write_dynamic",
        name:"write_dynamic",
        component:() => import("@/pages/write_dynamic"),
        meta:{isAuth:true,title:"发布说说"}
    },
    {
        path:"/draw",
        name:"draw",
        component:() => import("@/pages/draw"),
        meta:{isAuth:true,title:"一起画画"}
    },
    {
        path:"/notify",
        name:"notify",
        component:() => import("@/pages/notify"),
        meta:{isAuth:true,title:"通知"}
    },
    {
        path:"/create_group",
        name:"create_group",
        component:() => import("@/pages/create_group"),
        meta:{isAuth:true,title:"创建群聊"}
    },
    {
        path:"/add_friend",
        name:"add_friend",
        component:() => import("@/pages/add_friend"),
        meta:{isAuth:true,title:"添加朋友"}
    },
    {
        path:"/login",
        name:"login",
        component:() => import("@/pages/login"),
        meta:{isAuth:true,title:"登录"}
    },
    {
        path:"/register",
        name:"register",
        component:() => import("@/pages/register"),
        meta:{isAuth:true,title:"注册"}
    },
    {
        path: "/:catchAll(.*)",
        component:() => import("@/pages/not_found"),
    }
]